package cn.tedu.jewelry.mapper;

import cn.tedu.jewelry.entity.Admin;
import cn.tedu.jewelry.vo.AdminStandVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Select;


//后台模块
@Mapper
public interface AdminMapper {
    //通过管理员用户名查找密码
    @Select("select * from admin where username=#{username}")
    AdminStandVO adminLogin(String username);

}
